package com.taocyb.web.help;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.taocyb.web.BaseController;

/**
 * 帮助中心
 */
@Controller
@RequestMapping(value = "/help")
public class HelpController extends BaseController{
	
	/**
	 * 帮助中心首页
	 */
	@RequestMapping(value = "")
	public String index(){
		return "help/help-index";
	}
	
	/**
	 * 详情页面
	 */
	@RequestMapping(value = "show/{id}")
	public String show(@PathVariable("id") Long id){
		return "help/help-show";
	}
}
